import Vue from 'vue'
import App from './App.vue'

//导入实例&使用路由
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引入重置样式
import './assets/css/index.scss'

//引入淘宝适配方案
import 'lib-flexible'

import { Button, Form, Field, Tab, Tabs, Rate, Icon, Overlay, Sidebar, SidebarItem,Card,GoodsAction, GoodsActionIcon, GoodsActionButton,Stepper,Image as VanImage,Popup  } from 'vant'

Vue.use(Form).use(Field).use(Button).use(Tab).use(Tabs).use(Rate).use(Icon).use(Overlay).use(Sidebar).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(SidebarItem).use(Card).use(Stepper).use(VanImage).use(Popup)


new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
